package ModelLayer;

/**
 *
 * @author R3l4X
 */
public class CustomerGroup {

    private String description;
    private double credit;
    private int cvr;
    private boolean type; // true = business, false = private
    private int customerGroupID;
    private Customer customerID;


    public CustomerGroup()  {      
    }

    
    public CustomerGroup(int customerGroupID){
       this.customerGroupID = customerGroupID;
    }
    
    
    public CustomerGroup(String description, double credit, boolean type, int cvr , int customerGroupID, Customer customerID) {
        this.description = description;
        
        this.credit = credit;
        this.cvr = cvr;
        this.type = type;
        this.customerGroupID = customerGroupID;
        this.customerID = customerID;
    }

    public double getCredit() {
        return credit;
    }

    public void setCredit(double credit) {
        this.credit = credit;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

     public int getCustomerGroupID() {
        return customerGroupID;
    }

    public void setCustomerGroupID(int customerGroupID) {
        this.customerGroupID = customerGroupID;
    }

    public Customer getCustomerID() {
        return customerID;
    }

    public void setCustomerID(Customer customerID) {
        this.customerID = customerID;
    }

    public int getCvr() {
        return cvr;
    }

    public void setCvr(int cvr) {
        this.cvr = cvr;
    }

    public boolean getType() {
        return type;
    }

    public void setType(boolean type) {
        this.type = type;
    }    
    
}